<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<!-- 
Smart developers always View Source. 

This application was built using Adobe Flex, an open source framework
for building rich Internet applications that get delivered via the
Flash Player or to desktops via Adobe AIR. 

Learn more about Flex at http://flex.org 
// -->

<!-- 

For more information on SWFObject, please visit : http://code.google.com/p/swfobject

// -->

<head>
<title>${application}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
			html, body, #${application}_div	{ height:100%; }
			body					{ margin:0; padding:0; overflow:hidden; }
		</style>
<link rel="stylesheet" type="text/css" href="history/history.css" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="history/history.js"></script>

<!-- 
		Here's where the magic happens -->
<script type="text/javascript">

			var _isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
			var _isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
			var _isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
			var _isFirefox = (navigator.userAgent.indexOf("Firefox") != -1) ? true : false;
			var _isNetscape = (navigator.userAgent.indexOf("Netscape") != -1) ? true : false;
			var _isNetscape7 = (navigator.userAgent.indexOf("Netscape/7") != -1) ? true : false;
			var _isSafari = (navigator.userAgent.indexOf("Safari") != -1) ? true : false;
			var _isAvant = (navigator.userAgent.indexOf("Avant Browser") != -1) ? true : false;
			
    		var flashvars = {
			};
			var params = {
			  menu: "false",
			  allowFullScreen:"true",
     		  allowScriptAccess:"sameDomain",
     		  bgcolor: "${bgcolor}",
     		  standby: "Please wait",
     		  
			};
			var attributes = {
			  id: "${application}",
			  name: "${application}"
			};
    		
	   		swfobject.embedSWF ( "${swf}.swf", "${application}_div", "${width}", "${height}", "${version_major}", "expressInstall.swf", flashvars, params, attributes );
	   		swfobject.addLoadEvent(loadEventHandler);
						
	   		
			function loadEventHandler() {
				BrowserHistory.flexApplication = swfobject.getObjectById("${application}");
			}			
 

	    </script>
</head>
<body scroll="no" onLoad="window.document.${application}.focus();" onkeydown="window.${application}.focus()">
<div id="${application}_div">
<p>If you see this, probablly you had a Flash Player error into your browser, try to fix it. <a href="http://www.adobe.com/go/flashplayer/">Get Flash Player</a></p>
</div>
</body>
</html>
